<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Cascade: Ordering test with various import techniques</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/import/002.html"/>
  <link rel="help" href="http://www.w3.org/TR/html4/present/styles.html#h-14.3"/>
  <link rel="help" href="http://www.w3.org/TR/html4/present/styles.html#h-14.6"/>
  <!-- There seems to be no spec defining http-equiv="Link" behavior -->
  <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#at-import"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order"/>
  <meta name="flags" content="http" />

  <meta http-equiv="Link" content='&lt;support/cascade-import-002h.css>; rel="stylesheet"'/>
  <link rel="stylesheet" href="support/cascade-import-002j.css"/>
  <style type="text/css">
   @import url(support/cascade-import-002k.css);
   .l { color: green; }
   .m { color: red; }
   .n { color: red; }
   .o { color: red; }
   .p { color: red; }
   .q { color: red; }
   .r { color: red; }
  </style>
  <link rel="stylesheet" href="support/cascade-import-002p.css"/>
  <meta http-equiv="Link" content='&lt;support/cascade-import-002r.css>; rel="stylesheet"'/>
 </head>
 <body>
  <div class="a"> This line should be green. (a) </div>
  <div class="b"> This line should be green. (b) </div>
  <div class="c"> This line should be green. (c) </div>
  <div class="d"> This line should be green. (d) </div>
  <div class="e"> This line should be green. (e) </div>
  <div class="f"> This line should be green. (f) </div>
  <div class="g"> This line should be green. (g) </div>
  <div class="h"> This line should be green. (h) </div>
  <div class="i"> This line should be green. (i) </div>
  <div class="j"> This line should be green. (j) </div>
  <div class="k"> This line should be green. (k) </div>
  <div class="l"> This line should be green. (l) </div>
  <div class="m"> This line should be green. (m) </div>
  <div class="n"> This line should be green. (n) </div>
  <div class="o"> This line should be green. (o) </div>
  <div class="p"> This line should be green. (p) </div>
  <div class="q"> This line should be green. (q) </div>
  <div class="r"> This line should be green. (r) </div>
  <!--
   The cascade is as follows:
      HTTP Link: header
       @import
   a    Rule
       @import
        @import
   b     Rule
   c    Rule
   d   Rule
      HTTP Link: header
       @import
   e    Rule
   f   Rule
      <meta http-equiv="Link">
       @import
   g    Rule
   h   Rule
      <link rel="stylesheet">
       @import
   i    Rule
   j   Rule
      <style type="text/css">
       @import
   k    Rule
   l   Rule
      <link rel="stylesheet">
       @import
        @import
         @import
   m      Rule
         @import
   n      Rule
   o    Rule
   p   Rule
      <meta http-equiv="Link">
       @import
   q    Rule
   r   Rule
  -->
 

</body>
</html>
